.ripple-button {
  position: relative;
  border-radius: 4px;
  border: none;
  padding: 14px 24px;
  background: #1976d2;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
}

.ripple-button > .ripple {
  translate: -50% -50%;
  width: 20px;
  height: 20px;
  position: absolute;
  background: #63a4ff;
  display: block;
  content: "";
  border-radius: 9999px;
  opacity: 1;
  animation: 0.9s ease 1 forwards ripple-effect;
}

@keyframes ripple-effect {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(10);
    opacity: 0.375;
  }
  100% {
    transform: scale(35);
    opacity: 0;
  }
}

.ripple-button > .content {
  position: relative;
  z-index: 2;
}
